<?php

use Illuminate\Routing\Router;

Admin::registerAuthRoutes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index')->name('admin.home');
	$router->resource('/logo', 'LogoController');
	$router->resource('/slideshow', 'SlideshowController');
	$router->resource('/product', 'ProductController');
	$router->resource('/video', 'VideoController');
	$router->get('/getQiNiuUpToken', 'ActionHandles\QiNiuUpToken');
	$router->resource('/cache', 'CacheController');
	$router->resource('/seo', 'SeoSetingController');
	$router->resource('/info', 'InfoSetingController');
	$router->resource('/category', 'CategoryController');
	$router->resource('/message', 'MessageController');
	$router->resource('/article', 'ArticleController');
});
